wallthickness = 1 --taken from strykercode as a starting point
motorHoleRadius = 1.1 --actual = 1 adding fudge
baseCylinderRadius = (25.06/2)
holeToCylinder = 1.32
centerHoleRadius = 5
holeOffset = baseCylinderRadius - holeToCylinder - motorHoleRadius

base = Cylinder smooth:on heightsegs:1 capsegs:1 sides:25 height:wallthickness radius:baseCylinderRadius mapcoords:on pos:[0,0,0] isSelected:on
centerHole = Cylinder smooth:on heightsegs:1 capsegs:1 sides:25 height:(wallthickness*3) radius:centerHoleRadius mapcoords:on pos:[0,0,(-0.5*wallthickness)] isSelected:on
centerOuterHole = Cylinder smooth:on heightsegs:1 capsegs:1 sides:25 height:(wallthickness*3) radius:motorHoleRadius mapcoords:on pos:[0,(-1*holeOffset),(-0.5*wallthickness)] isSelected:on
centerOuterHole.pivot = [0,0,0]
centerOuterHole.pivot = centerOuterHole.center

motorhole2 = Cylinder smooth:on heightsegs:1 capsegs:1 sides:25 height:(wallthickness*3) radius:motorHoleRadius mapcoords:on pos:[0,(-1*holeOffset),(-0.5*wallthickness)] isSelected:on
motorhole2.pivot = [0,0,0]
motorhole2.rotation.z_rotation = 140
motorhole2.pivot = motorhole2.center

motorhole3 = Cylinder smooth:on heightsegs:1 capsegs:1 sides:25 height:(wallthickness*3) radius:motorHoleRadius mapcoords:on pos:[0,(-1*holeOffset),(-0.5*wallthickness)] isSelected:on
motorhole3.pivot = [0,0,0]
motorhole3.rotation.z_rotation = 220
motorhole3.pivot = motorhole3.center

topdistance = distance motorhole2.pos motorhole3.pos

-- select base
-- ProBoolean.CreateBooleanObject base centerHole 2 0 1
-- ProBoolean.CreateBooleanObject base centerOuterHole 2 0 1
-- ProBoolean.CreateBooleanObject base motorhole2 2 0 1
-- ProBoolean.CreateBooleanObject base motorhole3 2 0 1

